package com.yzk.train.business.response;

import com.alibaba.fastjson2.JSONWriter;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class ConfirmOrderQueryResp {

    // id
    @JSONField(serializeFeatures = JSONWriter.Feature.BrowserCompatible)
    private Long id;
    // 会员id
    @JSONField(serializeFeatures = JSONWriter.Feature.BrowserCompatible)
    private Long memberId;
    // 日期
    @JSONField(format = "yyyy-MM-dd")
    private Date date;
    // 车次编号
    private String trainCode;
    // 出发站
    private String start;
    // 到达站
    private String end;
    // 余票ID
    @JSONField(serializeFeatures = JSONWriter.Feature.BrowserCompatible)
    private Long dailyTrainTicketId;
    // 车票
    private String tickets;
    // 订单状态|枚举[ConfirmOrderStatusEnum]
    private String status;

}
